<% if @section_pages %>
  <% unless @section_pages.empty? %>
  <div class="section">
    <h3><%= link_to @page.section.name, :controller => @page.section.name %></h3>
    <ul>
      <% @section_pages.each do |section_page| %>
      <li><%= link_to section_page.name, :controller => section_page.section.name, :action => :show, :id => section_page  %></li>
      <% end %>
    </ul>
  </div>
  <% end %>
<% end %>